package com.lanou3g.code0410;

/**
 * Created by dllo on 18/4/10.
 */
public class Main {
    public static void main(String[] args) {
//        Animal animal = new Animal();
//        animal.setKind("蜥蜴");
//        animal.eat();
//        animal.shout();

        Cat cat = new Cat();
        cat.setKind("mao");
        cat.eat();
        cat.fun();

       //cat.super.shout(); //super 当前类的父类（main的父类）
//        cat.setKind("猫");
//        System.out.println(cat.getKind());
//        cat.eat();
//        cat.shout();
//        cat.sellMoe();

//        Dog dog = new Dog();
//        dog.lookDoor();
//        dog.setKind("狗");
//        dog.eat();


    }
}
